package org.generic.service;

import org.generic.interfaces.entity.Role;

import javax.validation.constraints.NotEmpty;

/**
 * 用户相关接口
 *
 * @author 李坤
 */
public interface RoleService<T extends Role> {
    T getRole(@NotEmpty(message = "ID不能为空") String id);

    String getRoleName(@NotEmpty(message = "ID不能为空") String id);
}
